package com.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

/* 读取表结构信息 */
public class Investigation extends BaseEntity{
    
    public Investigation() {

    }
    
    /* 序号  */
    private String id;
    /* 事故类型  */
    private String type;
    /* 事故原因  */
    private String reason;
    /* 是否酒驾  */
    private String drink;
    /* 车问题  */
    private String carSelfReason;
    /* 失误驾驶  */
    private String driver;
    /* 调查时间  */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")        
    private Date createDate;
    /* 保单  */
    private String orderId;
    
    public String getId() {
        return this.id;
    }
    public String getType() {
        return this.type;
    }
    public String getReason() {
        return this.reason;
    }

    public Date getCreateDate() {
        return this.createDate;
    }
    public String getOrderId() {
        return this.orderId;
    }
   
    public void setId(String id) {
        this.id = id;
    }
    public void setType(String type) {
        this.type = type;
    }
    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getDrink() {
        return drink;
    }

    public void setDrink(String drink) {
        this.drink = drink;
    }

    public String getCarSelfReason() {
        return carSelfReason;
    }

    public void setCarSelfReason(String carSelfReason) {
        this.carSelfReason = carSelfReason;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
  
}